package com.ktgj.flight.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;

/**
 * 机票订单异常对象 flight_order_exception
 * 
 * @author ruoyi
 * @date 2022-06-21
 */
public class FlightOrderException implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 出票异常表主键 */
    private Long exceptionId;

    /** PNR信息 */
    @Excel(name = "PNR信息")
    private String pnr;

    /** 乘客名称 */
    @Excel(name = "乘客名称")
    private String passenger;

    /** 航班号 */
    @Excel(name = "航班号")
    private String flightno;

    /** 出发城市到达城市三字码 */
    @Excel(name = "出发城市到达城市三字码")
    private String flightinfo;

    /** 出发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "出发时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date departureTime;

    /** 到达时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "到达时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date arrivalTime;

    /** 出票途径 */
    @Excel(name = "出票途径")
    private String outticketType;

    /** 出票异常错误信息 */
    @Excel(name = "出票异常错误信息")
    private String exceptionInfo;

    /** 订单来源 */
    @Excel(name = "订单来源")
    private String sourceWay;

    /** 状态（已处理：processed，未处理：untreated） */
    @Excel(name = "状态", readConverterExp = "已处理：processed，未处理：untreated")
    private String status;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long opreator;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date opreateTime;

    /** 订单表主键 */
    @Excel(name = "订单表主键")
    private String orderId;

    /** 订单类型（预定：reserve，出票：outTickets） */
    @Excel(name = "订单类型", readConverterExp = "预定：reserve，出票：outTickets")
    private String orderType;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    private Long employeeId;

    /** 出票渠道 */
    @Excel(name = "出票渠道")
    private String ticketChannel;

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public void setExceptionId(Long exceptionId)
    {
        this.exceptionId = exceptionId;
    }

    public Long getExceptionId() 
    {
        return exceptionId;
    }
    public void setPnr(String pnr) 
    {
        this.pnr = pnr;
    }

    public String getPnr() 
    {
        return pnr;
    }
    public void setPassenger(String passenger) 
    {
        this.passenger = passenger;
    }

    public String getPassenger() 
    {
        return passenger;
    }
    public void setFlightno(String flightno) 
    {
        this.flightno = flightno;
    }

    public String getFlightno() 
    {
        return flightno;
    }
    public void setFlightinfo(String flightinfo) 
    {
        this.flightinfo = flightinfo;
    }

    public String getFlightinfo() 
    {
        return flightinfo;
    }
    public void setDepartureTime(Date departureTime) 
    {
        this.departureTime = departureTime;
    }

    public Date getDepartureTime() 
    {
        return departureTime;
    }
    public void setArrivalTime(Date arrivalTime) 
    {
        this.arrivalTime = arrivalTime;
    }

    public Date getArrivalTime() 
    {
        return arrivalTime;
    }
    public void setOutticketType(String outticketType) 
    {
        this.outticketType = outticketType;
    }

    public String getOutticketType() 
    {
        return outticketType;
    }
    public void setExceptionInfo(String exceptionInfo) 
    {
        this.exceptionInfo = exceptionInfo;
    }

    public String getExceptionInfo() 
    {
        return exceptionInfo;
    }
    public void setSourceWay(String sourceWay) 
    {
        this.sourceWay = sourceWay;
    }

    public String getSourceWay() 
    {
        return sourceWay;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setOpreator(Long opreator) 
    {
        this.opreator = opreator;
    }

    public Long getOpreator() 
    {
        return opreator;
    }
    public void setOpreateTime(Date opreateTime) 
    {
        this.opreateTime = opreateTime;
    }

    public Date getOpreateTime() 
    {
        return opreateTime;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTicketChannel() {
        return ticketChannel;
    }

    public void setTicketChannel(String ticketChannel) {
        this.ticketChannel = ticketChannel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("exceptionId", getExceptionId())
            .append("pnr", getPnr())
            .append("passenger", getPassenger())
            .append("flightno", getFlightno())
            .append("flightinfo", getFlightinfo())
            .append("departureTime", getDepartureTime())
            .append("arrivalTime", getArrivalTime())
            .append("outticketType", getOutticketType())
            .append("exceptionInfo", getExceptionInfo())
            .append("sourceWay", getSourceWay())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("opreator", getOpreator())
            .append("opreateTime", getOpreateTime())
            .append("orderId", getOrderId())
            .append("orderType", getOrderType())
            .toString();
    }
}
